package com.itheima.springboot_08_ssmp.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.springboot_08_ssmp.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper//这是干啥的
public interface BookDao extends BaseMapper<Book> {
    //@Select("select * from tb_book where id=#{id}") //给方法一个sql语句
    //public Book getById(Integer id);
}
